// Capitalist City - Business Simulation Game
// Copyright (C) 2011 Azlan Mukhtar
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

#ifndef COMPANY_H
#define COMPANY_H
#include <QtCore>


class Company
{
public:
    Company();
    virtual ~Company();

public:
    QString companyName;
    quint16 companyId;


    // Stock Information
    qint64  stockPrice;     // $
    qint64  peRatio;        // 000.00
    qint64  equityPerShare; // $
    qint64  earningPershare;// $
    qint32  dividendYield;  // 0.00%
    qint32   totalReturn;    // 0.00%

    // Income Statement for
    // CurrentMonth, LastMonth, YTD, Lifetime
    qint64  operatingRevenue;
    qint64  costOfSales;
    qint64  salariesExpense;
    qint64  operatingOverhead;
    qint64  advertisingSpending;
    qint64  trainingAndNewEquipment;
    qint64  writeOffs;
    qint64  operatingExpense;
    qint64  operatingProfit;
    qint64  stockReturn;
    qint64  increaseInAssetValue;
    qint64  loanInterest;
    qint64  otherProfit;
    qint64  netProfit;

    // Statements
    qint64  netWorth;
    qint64  marketValue;
    qint64  cash;
    qint64  annualRevenue;              // $
    qint64  annualOperatingProfit;      // $
    qint64  annualNetProfit;
    qint64  totalAssets;
    qint64  totalLoans;
    qint64  stockAsset;

    // Other info
    quint32 yearsOfOperation;
    quint32 totalEmployees;
    quint32 totalProductClasses;
    quint32 totalProductTypes;

};

#endif // COMPANY_H
